#pragma once

#include "pch.h"

struct DatabaseInfo
{
	std::string m_Id;
};




struct DBCreateInfo
{
	std::string m_DatabaseName;
	static std::string SqlTemp()
	{
		std::string temp = R"(
CREATE DATABASE {{{m_DatabaseName}}}
)";
		return temp;
	}
	std::string Sql() const
	{
		kainjow::mustache::mustache m1 = SqlTemp();
		kainjow::mustache::data d1;
		d1.set("m_DatabaseName", m_DatabaseName);
		return m1.render(d1);
	}
};
struct DBDropInfo
{
	std::string m_DatabaseName;
	static std::string SqlTemp()
	{
		std::string temp = R"(
DROP DATABASE IF EXISTS {{{m_DatabaseName}}}
)";
		return temp;
	}
	std::string Sql() const
	{
		kainjow::mustache::mustache m1 = SqlTemp();
		kainjow::mustache::data d1;
		d1.set("m_DatabaseName", m_DatabaseName);
		return m1.render(d1);
	}
};
